import Sprite from '../base/sprite'
import DataBus from '../databus'

const IMG_SRC = 'images/scot.png'

const databus = new DataBus()

export default class Protector extends Sprite {
  constructor(width, height) {
    super(IMG_SRC, width, height)
  }

  drawScot(ctx, x, y) {
    ctx.drawImage(
      this.img,
      x,
      y,
      this.width,
      this.height
    )
  }
}
